package com.zheng.upms.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.zheng.common.base.BaseService;
import com.zheng.upms.dao.model.UpmsUserPermission;

/**
 * <p>
 * 用户权限关联表 服务类
 * </p>
 *
 * @author likun
 * @since 2017-12-29
 */
public interface UpmsUserPermissionService extends BaseService<UpmsUserPermission> {
    /**
     * 用户权限
     * @param id 用户id
     * @return
     */
    int permission(JSONArray systems,JSONArray permissions, Integer userId);
}
